package main

import "fmt"

func main() {
	num1 := 200
	fmt.Printf("类型：%T\n", num1)
	fmt.Printf("值：%v\n", num1)
	fmt.Printf("地址：%v\n", &num1)

	num2 := new(int) // *int
	*num2 = 100
	fmt.Printf("类型：%T-值：%v-地址：%v-指针指向的值：%v\n",
		num2, num2, &num2, *num2) //类型：*int-值：0xc00000a0a8-地址：0xc000006030
}
